package cn.gson.crm.model.dao;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import cn.gson.crm.model.entity.User;

import java.util.List;

@Repository
public interface UserDao extends PagingAndSortingRepository<User,Long> {

	User findByEmpId(Long id);

	User findByAccount(String account);

	User findByStudentId(Long id);



}
